// config package
const express = require('express');

const app = express();

// config template engine
app.engine('html', require('express-art-template'));
app.set('view', 'view');

// config router
const router = require('./route');
app.use(router);

// start server
app.listen(80, () => {
    console.log('请访问： http://127.0.0.1：80');
})